package com.zhisuo.apicenter.service;


import com.zhisuo.apicenter.model.*;

import java.util.List;

public interface ExpressManService {


    ZhiSuoCar getCarBySn(String sn);

    String getParkareaidByCarId(int id);

    String getParkAreaNameById(String parkareaid);

    List<ZhiSuoCarBoxReturnData> getListZhiSuoCarBoxInfoByCarId(String carid);

    ZhiSuoCarBox getBoxIdByBoxName(String boxname);

    void insertNewDeliveryOrderByUserId(String carid, int id, String code, String paymentcode, String receiptusername, String userid,String paymentcompany,String receiptusermobile);

    String getSalemansIdByUserId(String userid);

    String getPayMentCompanyById(String salemansid);

    List<DeliveryOrder> getListDeliveryOrderByUserIdAndStatus(String userid, String status,Integer page,Integer pagesize);

    ZhiSuoCar getCarByCarId(Integer carid);

    List<ZhiSuoCarBox> getListZhiSuoCarBoxByCarId(String carid);

    ZhiSuoCarStatus getCarStatusByCarVin(String sn);

    void updateCarStopListStatus(int id, String stop);

    ZhiSuoCar getCarByQrcode(String sn);

    DeliveryOrder getNextDeliveryOrderByNextStop(String nextstop, String s);

    String getStopTcpStatusByCarIdAndStop(int id, String stop);

    void updateCarStopTcpStatus(int id, String stop);

    void updateCarBoxIsEmpty(String boxname, String carid);

    void updateCarBoxStatusByCode(String boxcode,String carid);

    List<DeliveryOrder> getListNextDeliveryOrderByNextStop(String nextstop, String s);

    List<ZhiSuoCarBoxReturnData> getListZhiSuoCarBoxTypeInfoByCarId(String carid);

    List<ZhiSuoCarBox> getListZhiSuoCarBoxByContent(String boxcontent,String carid);

    void insertNewSellerOrderByUserId(String carid, int id, String code, String receiptuseraddressid, String code1, String userid, String receiptusermobile,String receiptcode);

    List<DeliveryOrder> getListSellerDeliveryOrderByUserIdAndStatus(String userid, String status, Integer page, Integer pagesize);

    List<DeliveryOrder> getListNoDeliveryOrderByUserId(String userid);

    void updateDeliveryOrderStatusByOrderId(int id,int status);

    void updateDelOrderStatusByOrderId(String orderid);

    void updateDelCarBoxIsEmpty(String boxcode, String s);

    List<String> getListHasOrderByCarId(int id);

    void deleteStopBefore(String carid);

    String getStopStatusByIdAndStop(int id, String stop);

    String getHasPaymentCodeByPaymentCode(String paymentcode);

    List<SendOrder> getListNextSendOrderByNextStop(String nextstop, String s);

    Salesman getSalemanByUserId(Integer userid);

    Salesman getSellermanByUserId(int salemansid);

    String getHasOrderByUserIdAndCarIdAndreceiptuserbuildid(String mobile, String carid);

    void updateCarStatusByCaridAndAddressCode(int id, String stop);

    void updateRubbishOrderByOrderId(int id);
}
